// Copyright DustedPixels.com 2008. All rights reserved.

package com.dustedpixels.asm.analysis;

import org.objectweb.asm.tree.analysis.Analyzer;
import org.objectweb.asm.tree.analysis.Frame;
import org.objectweb.asm.tree.analysis.Interpreter;

/**
 * @author micapolos@gmail.com (Michal Pociecha-Los)
 */
final class FixedAnalyzer extends Analyzer {

  public FixedAnalyzer(Interpreter interpreter) {
    super(interpreter);
  }

  @Override
  protected Frame newFrame(Frame src) {
    return new FixedFrame(src);
  }

  @Override
  protected Frame newFrame(int locals, int stack) {
    return new FixedFrame(locals, stack);
  }
}
